package com.wenboit.initproject.service;

import com.wenboit.initproject.pojo.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;

/**
 * (UserService). 
 *
 * @author 汪文波(Wang Wenbo) wenboit@163.com
 * @notes Create on 2021-12-12 20:49
 */
public interface UserService {

    List<User> findAll();

    Page<User> findAll(PageRequest request);

}
